Add devise and url redirect for authentication