user registration, login and sample chatting module