Adding new functionality to the user management connecting to the database