IMPLEMENTED JDBC TEMPLATE