Updated get_database

Added the my library functionalities