added auth, modified gui