Can login logout and create users. fix #3