The login and the signup dialogs are shown according to input parameters