added way to send message to window.opener
created basic user service