Changed login.html.erb to use rails syntax for producing form
Added partial login functionality