This is the code in my controller for authenticating user. It works as usual. It only showed error only if the user has role as "Super Admin"
This is the code i