Added timer for logn press.