refactor displaying # of answers for membership: move calculation of # of answers to the login handler and store it in user object so that it can be displayed in every page