Implementation of login, authentication system