Revert "corrected signin/login code"

This reverts commit aa0313afa2356beea9969eef33052ab98df2b7d8.