added db connection + completed xaml