login form view/post added
login form now creates a session on successful connection