add devise gem, flesh out routes, and other fixes