installed rails and added routes