modified profiles controller so that when you write a profile URL that is nonexistent 404, if it exists, profile