A portable electronic device, comprising: - a fingerprint sensor providing fingerprint data representing a finger of a user arranged at the fingerprint sensor; - a transmitter configured to allow wireless communication with a remotely positioned electronic arrangement; - at least one motion sensor providing sensed data based on movement of the portable electronic device in space, and - processing circuitry connected to the fingerprint sensor, the transmitter and the at least one motion sensor, wherein the processing circuitry is configured to: - acquire the fingerprint data from the fingerprint sensor; - authenticate the user of the portable electronic device based on the fingerprint data and an enrolled fingerprint of the finger of the user; - acquire sensed data from the at least one motion sensor; - identify a gesture made by the user moving the portable electronic device based on the sensed data from the at least one motion sensor, the gesture representing a functional command, and - transmit, using the transmitter, the functional command together with an identity of the authenticated user to the remotely positioned electronic arrangement, wherein the functional command is used for controlling the remotely positioned electronic arrangement and the user is authenticated in parallel with identifying the gesture, wherein the functional command is transmitted to the remotely positioned electronic arrangement only if the user's finger is arranged at the fingerprint sensor for a complete duration of acquiring sensed data from the at least one motion sensor for identifying the gesture made by the user moving the portable electronic device, and wherein the fingerprint data and the sensed data of the at least one motion sensor are simultaneously acquired. - a fingerprint sensor providing fingerprint data representing a finger of a user arranged at the fingerprint sensor; - a transmitter configured to allow wireless communication with a remotely positioned electronic arrangement; - at least one motion sensor providing sensed data based on movement of the portable electronic device in space, and - processing circuitry connected to the fingerprint sensor, the transmitter and the at least one motion sensor, wherein the processing circuitry is configured to: - acquire the fingerprint data from the fingerprint sensor; - authenticate the user of the portable electronic device based on the fingerprint data and an enrolled fingerprint of the finger of the user; - acquire sensed data from the at least one motion sensor; - identify a gesture made by the user moving the portable electronic device based on the sensed data from the at least one motion sensor, the gesture representing a functional command, and - transmit, using the transmitter, the functional command together with an identity of the authenticated user to the remotely positioned electronic arrangement, wherein the functional command is used for controlling the remotely positioned electronic arrangement and the user is authenticated in parallel with identifying the gesture, wherein the functional command is transmitted to the remotely positioned electronic arrangement only if the user's finger is arranged at the fingerprint sensor for a complete duration of acquiring sensed data from the at least one motion sensor for identifying the gesture made by the user moving the portable electronic device, and wherein the fingerprint data and the sensed data of the at least one motion sensor are simultaneously acquired.