fixed FE template
added db