user: rename GetUser to GetUserFromDatabase
user: fix if statement checking if the get user from session call worked
user: reorder functions