Added user authentication and simple login form