Please replace bool with enum so that we can return more information about unsuccessful authorization ( no Internet connection, wrong password, no user found, maximum try count reached etc. )