Authentcation, Register,login-out sytem