refactored, got rid of tempusername and temppassword
removed profile model