Added a function to get the current user to PictureController