tried to implement login, still buggy but found a hint on assembla