what is main? why do you add custom routes without any complexity? Follow RESTful rails convention.