- moved header to separate file
- added request events
- auto login