Essays in behavioral finance and online markets