WIP: login and registration. Need to adjust error message passing and styling, but db part works.