Removed mongodb usage(temporary), added url_for calls in index template