fix for bug #086
fix for bug #88 explicitly converted params[:id] to params[:id].to_s on login related actions
fix for bug#006
fix for bug #76
fix for bug#88