fixed up some devise authentication stuff