updating create user endpoint to take image paths