server is working, also login, logout and register client