Registration and login fully implemented