user registration works but needs to be changed