Adds functions aesencrypt and aesdecrypt
Adds functions urlencrypt and urldecrypt
Corrects function user_agent
Corrects how error cases are tested before calling user_login in login.php