add user profile picture function and modified the picture store patch