Added classpath path, added logout function