getting an error message explaining that something is wrong in the runmode 'login'. How are you configuring DBH? Via a prerun runmode? Please make an effort to check out error messages and debug your code before posting. Making effort encourages people to help you when you are really stuck. This goes the same for finding example code. The
has links to examples and articles that are available, quickly searching using Google would have found that for you. Read the articles I linked to previously, and the articles/examples in links from this post. If you still have problems let us know.