Login added.
Registration errors don't work as expected.