added restful resources for users and questions

added two lines of code for restful resources