1. in your db.py you should define
def go_log(object):
redirect(URL('default','samples')) #default is the controller,
samples is the action.
auth.settings.login_onaccept = go_log
2. in your default.py create a action
def samples():
return dict()
3. you should have created file samples.html in your views/default dir
tables are models. you create them when you call db.define_table()

