Fixed redirects, mongodb integrated