Adding logic for blocking user after 5 attempts