Redirect based on validity of usermodel in localstorage.