renamed files and fixed user registration bugs