Created authentication service which can be used by the theme