login and logout  routines in Member class

+ minor updates and bug fixes