Types were clashing, and to make it easier I just made the database use Data.Text instead of String
Added registering and logging in functionality. Might have to be polished a bit.