working on authentication system