fixed controller error when not signed in