deleted unnecesary tests
refactor factory to user usign faker
refactored to login with devise
refactored tests
refactor code in events