Refactored UserTable + LoginModel

Signed-off-by: Phillipp Ohl <phillippohl@gmail.com>