adding methods to user and question models