init rails and add devise