show user name in profile.php

fixed index from 'username;' to 'username'
update user information

had wrong query variable so fixed it.