adding keyfile
adding login feature