improvements on login
ops forgot some files!