added local authentication + ui-router