added login stuff for Chris