Added invalid argument exception
Logout message can be set