A variational approach to pertubed elastic beam problems with nonlinear boundary conditions