Fix php notice
Move variable declaration to top of page
Add ability for staff to send feedback on loan profile quality

See #221