some authentication and angular files re-worked