working redirects to profile