fixed login ablity for user