Added session handling to check whether we are an admin or normal user, we now also pass session data via the SESSION variable to minimise URL parameter requests.