You need a database and another language to store/load login data.
If you want to keep account open, you need to set cookie with that language.
If you don't know where to look, search for Mysql and PHP. There are alternatives of course.
static web no you dont.