Classpath fix and login controller update