Websecurity initialization