passport started and user database functionality seperated from database configuration