should probably catch missing username here?