added user sign up and sign out control def