Fixed logout by removing error checks