Removed duplication in the main menu
Fixes error with Postgres
test db in memory