Login method added