Main can't be accessed without logging in