Implemented pass and login