Fix small bugs and php notices on borrower registration/profile page