add actual sessions and connect up login, also change line endings if needed