move clearing of sqlite tags from logout to login