changed wrong spring config
added comments and parameter checks
added UI for clinic times config