Login module written for a school project.