Fixed bugs with joining projects and improved dashboard code