Add cookie to store login and database name

review904002