Corrected errors in enable/disable features based on login status