Authentication validation for persistent user connection, middleware validates if the user is auth'd, if not routes to the login page