The program is always returning back to the home page, presumably because $loggedin_session and $loggedin_id are null. I think it may be the 2nd line of code, but I have no