An angular module for authentication