Change database clear api from GET to DELETE
Authentification for database API finished
add AuthException
add exception handling