cleanup home_server_add (rename to home_server_afrom_cs and remove globals)
Missing parentheses in sqlite queries