Generating the views for devise and fixing the routes