Log-in, Log-out, and register functionalities implemented.