auth dependencies fixed and login page working