'Log out of biostar'

@web.expose
def biostar_logout(self, trans):

    try:
        url = biostar.biostar_log_out(trans)
    except Exception as e:
        return error(str(e))
    if url:
        return trans.response.send_redirect(url)
    return error('Could    not    determine    Biostar    logout    URL.')
