Added profile form, which is redirected too on registration, added code to handle profiles.