Created simple authentication class.