Update UserDaoImpl - realize method findByLogin.
Update index page - add logout link.
Update application-security.xml.
Update User model.