Fixed not-working relations between users and events
Centralize helpers in Application controller

app/controllers/application_controller.rb
app/controllers/events_controller.rb
app/models/user.rb
app/controllers/users_controller.rb
app/controllers/votes_controller.rb
fixed user signin in test