Made JSON response parsing smarter. Re-enabled user proper user login. Made cookie gathering optional, based on tool used.