added rest configuration
fixed missing security
added rest services for users