Removed from debugging code and added server route