Enabled/disabled UserPanel

The code now correctly enables/disables the background image