Created the utilities.php file. Udpated other pages to use the new functions to check current login.
Merge origin/master