Cannot redirect user

Hello, am close to,finishing my project but this is my challenge. I want to redirect a user after successful registration to his /her profile and each time I register, I will see a message cannot get/profile. Now learning in FCC how to serve file I have tried it but to no avail please help.
note am just starting website dev.