fix bug when user did not login, click questions will get a nil error