added structs ids
implemented server stuff
implemented user stuff (@todo KILL)
fixed small things