postLogin Method corrections