added registration fixes

Now when you try to create a user, their corresponding profile has the
same id
Starting working on file upload but realized I should tackle user sessions
first