Added styles and implemented eager loading in edit page