Removed db login from main file