Issue 1331 - Invite a Friend button on home page

Correct formatting on home page button and refine behaviour for logged in users when invitations are not required.