Authorization working and pulling from the db