Fixed error with registration. 
Creates profiles for new users.