adding User and some queries