Finished Login and User Registration