fixed mongo stuff, now redirects to user homepage