Finished database modeling and added login error alert