Fixed bug allow user without role to successfully login