new functionality: username is checked against database