fixed save fourups to db and persistant login