fixed tests for home_controller
renamed events.user field to events.user_id
fixed|added tests for events_controller