Creating separate class for processing jsp data.
Added security check for users access.