Fixed small session problem; fixed brackets preventing the form displaying when incorrect login data was provided.