added multiple additions

output buffering, additional errors, and login page