Added validation to add app by WS; Fixed apps groups

Signed-off-by: pgnunes <pgh.nunes@gmail.com>