finished login,added adapter classes