Updated banking task, tan task and check task logic