Separate Profiles for Users

As mentioned by @PieterGoosen in the comments, all I had to do was shift my code to a custom author.php and the rest was solved.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)