Trying to fix app error caused by if signed_in?