clean unused code
cleaning code
cleaning
cleaninf
fix sql
call db only once to check if user isadmin
add logging for msigner