Updated user agent to match current version
Implemented login system.