naming resource

naming fresource in main ,  userlogin and userregister