most things working, but undefined method self.authenticate? which doesn't make a lot of sense