Login working without passing event_code
A little of cleaning
Merge pull request #9 from sandimagithub/master

Login view works