Fixed incorrect parameters in passport authentication
Fixed post login route