Angular login implementation.