refactoring logged in page to use UserDao properly with a single query
Merge pull request #14 from CST316TeamJ/Task-1347

LoggedIn.php - Query refactoring