checking logic to prevent bypassing registration in app dashboard