implemented identity hashing instead of plain text identity in file database
renamed "login" to "name"
added "valid_until" check
created needed controllers
added todo