added username and new res