added option to pass default subject and message
added admin functions