added user pages and image upload