Implement remember me for deciding whether a permanent cookie is saved upon signing in