added autologin for demo