Bubble up db error for login

## enhancements
 - Catch errors for login #225