added more structure to the project. Wrote tests. done with the authentication object