removed hiding system buttons and made email checking a method