added profile form in rails format, redirected /main to /profile if you arent in a wg