added safety measure for bank page
added safety measure for bank