check if the user has logged via login action or via remember key
remove unnecessary and unused code
update show button template
extend the list template so as to have access to javascript