Implemented basic user register and login scenario