curent state for auth. still broken on pq relation issue in orm