introduced user controller
added actions to user controller