Started working on login with both name and pass