Completed version of Login and modified absolute path to relative