added method to register user through boomresource
added sql queries