Minor correction to sample data order.
Add error messages to login.