added autologin for testing purposes