Completed a simple login form