Added Login library and validation