trying to make profile redirection work