added function to add  users in user model for user registration
reg user and chatlog view in sim/chat