Fix errors in PostLogin