change webapp to websockets, fixx default data on registering