Updates to loginsvc and eventsvc

Added support for recurring action headers. Improved loginsvc.