Added edit profile feature. Moved 'tryLoginAs' to utilityFunctions.php