Update profile_form.php

redirects user to login page if they are not already logged in