added all the handler for database request