Added basic template; implemented login