Functioning login, logout, and attractive alert message handling