Completed basic registration and login, added loading indicator