add statusCheck middleware to check if email has already sent or the user has activate account