added route for subscribe, added subscribe js