Session and rememberme fix