So I've installed Glype v1.1. I've upload admin.php and set includes/settings.php permission to 777.

I then type in a username and password. It brings me to the admin panel. I want to change theme, so I click on 'Edit Settings' and it bring me back to the login page. I tried login in again and it brings me to this page:

What is happening? Can anyone tell me?
I tried login again, but it keeps bringing me to the login page even though I've already logged in.

I check the settings.php file and saw my username there. So what can be wrong here?