Added version information to backend and frontend

also fixes a bug introduced by #404