added logs
fixed new user bug