Login process & anguJS integration