Dispatch: Try and get userid from session as early as possible. This is to prevent IVLE errors saying with the IVLE frame from saying there is logged in user even if a user has already logged in. (At the point in the code when these errors - 404 etc. - are triggered IVLE technically doesn't _know_ the user is logged in... but we can call the get_user_details to try and view them early)