finally solved the bug with the profile show page and profile controller