WIP: created api/checkLoggedIn/ url for persisting the session as well as in backend