Added createProfile function to create new user profile
Updated form