added user pic functionality