Added Login and Tests