added workplace form and connected to database