Made a timer and a counter to the login process