Finished User login and register