Refactor code

* support animation for all browsers
* add set_user and before_action to UsersController
* harmonize stylesheet formatting