Added error messaging to login form