Database Connectivity fixed for editfrm

*This is temporary, table to be constructed