fixing login issues
modified new session html and sessions controller