added simple authentication modal with some minor error-handling