Database Structure and Actual Login Functionality

This works toward #4