Added signin detection