Disables the input if not logged in