enabling/disabling private message sending depending on login status