[app5] add login utils and connect pck ws

Signed-off-by: Stefan Prisca <stefan.prisca@gmail.com>