Added signing in functionality