Updated tables, fixed login issue