Fixed login form action
Added registration action