Add security login functions, embed security service in container