added login logout and comments