revision of login logout and draft of dashboard