added login / logout behavior, editing user and changing password added