Added login encryption