Adds login form with authentication

Fixes #1