Added basic login function to Admin controller and view.