Moved to post_controller.go
Added user_controller.go containing user related functions.
Updated PostsHandler to use the function in controllers package.
Added handler for registering users.