prevent initializing app and connecting to database