Do not attempt to read the notifications unless we have a username set.

This is a simple workaround to prevent us from attempting to read data
from a table that does not exist until we have pressed the save button.
Whitespace
Fix the order pagination when empty page and proper result type.
Whitespace
Do not attempt to build a key from empty input.
Do not use the private key as boolean value for checking the test
checkbox.