Added login stuff from past mini project