added before_filter for users_controller