Fix named queries and add authenticate method to user